package com.ruoyi.project.system.domain;

import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;
import lombok.*;
import lombok.experimental.Accessors;

/**
 * 收货地址对象 mall_address
 *
 * @author hongwj
 * @date 2024-03-26
 */
@Data
@ToString
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
public class Address extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private Long id;

    /**
     * 收货人姓名
     */
    @Excel(name = "收货人姓名")
    private String receiver;

    /**
     * 手机号码
     */
    @Excel(name = "手机号码")
    private String phone;

    /**
     * 省市区
     */
    @Excel(name = "省市区")
    private String area;

    /**
     * 详细地址
     */
    @Excel(name = "详细地址")
    private String address;

    /**
     * 是否默认地址
     */
    @Excel(name = "是否默认地址")
    private boolean defaultAddress;

}